/**
 * 
 */
package com.swg.cocobox;

import java.util.EventObject;

/**
 * Root interfaces for {@link Event} processing stage
 * @author satriaprayoga
 *
 */
public interface EventProcessor<E extends EventObject> extends Runnable,EventQueue<E> {

	/**
	 * processor method. Invoked when an event occur 
	 * or dequeue from this internal {@link EventQueue} implementation
	 * @param event
	 */
	void onEvent(E event);
}
